package com.android.sunflower.utils

import android.content.res.Resources
import android.graphics.Bitmap
import android.graphics.BitmapFactory

object PicToBitmap {
    fun convert(resources: Resources,resId:Int):Bitmap{
        return BitmapFactory.decodeResource(resources, resId)
    }
}